package ooday05_vis;

public enum Seasons {
    SPRING( "春天", "春暖花开"),
    SUMMER("夏天", "夏日炎炎"),
    AUTUMN("秋天", "秋高气爽"),
    WINTER("冬天", "白雪皑皑")
    ;
    private String seasonName;
    private String seasonDesc;

    private Seasons(String seasonName, String seasonDesc) {//枚举类中构造器私有
        this.seasonName = seasonName;
        this.seasonDesc = seasonDesc;
    }

    public String getSeasonName() {
        return seasonName;
    }
    public void setSeasonName(String seasonName) {
        this.seasonName = seasonName;
    }
    public String getSeasonDesc() {
        return seasonDesc;
    }
    public void setSeasonDesc(String seasonDesc) {
        this.seasonDesc = seasonDesc;
    }


}
